package com.itheima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan({"com.itheima","com.example"})//指定要扫描的包
@ServletComponentScan//扫描Servlet组件,开启对组件 的支持
@SpringBootApplication
public class TliasWedManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(TliasWedManagementApplication.class, args);
    }

}
